// This is the JSON way to define React Router rules in a Rekit app.
// Learn more from: http://rekit.js.org/docs/routing.html

import {
  ListPage,
  DetailPage,
} from './';

export default {
  path: 'cinema',
  name: 'Cinema',
  childRoutes: [
    { path: 'cinema', name: 'Cinema', component: ListPage, isIndex: true},
    { path: 'detail/:id', name: 'Detail page', component: DetailPage },
  ],
};
